package com.bozhao.controller;

import com.bozhao.zdy.starter.service.CustomTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ZhaoBo (zhaobo@shanshu.ai)
 * @date 2022/3/28
 */
@RestController
@RequestMapping("/zdy-starter")
public class StarterTestController {

    @Autowired
    private CustomTemplate customTemplate;

    @RequestMapping("/say-hello")
    public String sayHello() {
        return customTemplate.sayHello();
    }
}
